package io.chenglicun.modules.clc.service.dataset;

import io.chenglicun.common.page.PageData;
import io.chenglicun.common.service.CrudService;
import io.chenglicun.modules.clc.dto.dataset.ClcDataContentDTO;
import io.chenglicun.modules.clc.entity.dataset.ClcDataContentEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 数据内容
 *
 * @author pipi 1151485299@qq.com
 * @since 1.0 2024-03-04
 */
public interface ClcDataContentService extends CrudService<ClcDataContentEntity, ClcDataContentDTO> {

    String importExcel(Long moduleId, MultipartFile file) throws Exception;

    PageData<ClcDataContentDTO> getPage(Map<String, Object> params);

    Map<String, Object> getJsonAllBySetIds(String[] setIds,String key);

    List<ClcDataContentDTO> getByPoint(Long pointId,List<Object> setId);
}